package com.ldu.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import com.ldu.mapper.SportDetailMapper;
import com.ldu.pojo.SportDetail;
import com.ldu.pojo.SportDetailExample;
import com.ldu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@Service(interfaceName="com.ldu.service.UserService")
public class UserServiceImpl  implements UserService{
    @Reference
    SportDetailMapper  kkkkkk;
    @Override
    public List<SportDetail> getUsers() {
        return kkkkkk.selectByExample(new SportDetailExample());
    }
}
